import request from '@/utils/request'

export function applyGoodsBatchApplication(data) {
  return request({
    url: '/api/base/goods_batch_application/apply',
    method: 'post',
    data
  })
}

export function handleGoodsBatchApplication(data) {
  return request({
    url: '/api/base/goods_batch_application/handle',
    method: 'post',
    data
  })
}

export function auditGoodsBatchApplication(data) {
  return request({
    url: '/api/base/goods_batch_application/audit',
    method: 'post',
    data
  })
}

export function cancelGoodsBatchApplication(data) {
  return request({
    url: '/api/base/goods_batch_application/cancel',
    method: 'post',
    data
  })
}

export function pageGoodsBatchApplication(data) {
  return request({
    url: '/api/base/goods_batch_application/page',
    method: 'post',
    data
  })
}

export function listPreOptions() {
  return request({
    url: '/api/base/goods_batch_application/list_pre_options',
    method: 'get'
  })
}
